package com.javase.Homework;

public class Homework07 {
    public static void main(String[] args) {

    }
}
class Employee{
    String name;
    String sex;
    int age;
    String position;
    double salary;
    public Employee(String position,double salary){
        this.position = position;
        this.salary = salary;
    }
    public Employee(String name,String sex, int age){
        this.name = name;
        this.sex = sex;
        this.age = age;
    }
    public Employee(String name,String sex,int age,String position,double salary){
        this(name,sex,age);
        this.position = position;
        this.salary = salary;
    }


}
